import React, {Component} from 'react';
import {withRouter} from "react-router-dom";

class News extends Component {
    // componentDidMount() {
    //     setTimeout(() => {
    //         this.props.history.push('/home/message')
    //     }, 2000)
    // }

    render() {
        console.log('News', this.props)
        return (
            <ul>
                <li>news001</li>
                <li>news002</li>
                <li>news003</li>
            </ul>
        );
    }
}

export default News;